﻿@model doufu.Model.permission
@ViewBag.Title
@using (Html.BeginForm())
{
    @Html.HiddenFor(x => x.permission_id)
    @Html.LabelFor(x => x.permission_name)
    @Html.EditorFor(x => x.permission_name)
    @Html.ValidationMessageFor(x => x.permission_name)
    <br />
        @Html.LabelFor(x => x.show_in_menu)
    @Html.EditorFor(x => x.show_in_menu)
    @Html.ValidationMessageFor(x => x.show_in_menu)
    <br />
        @Html.LabelFor(x => x.permission_code)
    @Html.EditorFor(x => x.permission_code)
    @Html.ValidationMessageFor(x => x.permission_code)
    <br />
        @Html.LabelFor(x => x.parent_id)
    @Html.EditorFor(x => x.parent_id)
    @Html.ValidationMessageFor(x => x.parent_id)
    <br />
   
    <input type="submit" name="name" value="submit" />
}